
/* configure paths */
Ext.Loader.setConfig({
	enabled: true,
	disableCaching: true,
	paths: {
		'Ext': 'extjs',
        'App': 'app'
	}
});

var app = Ext.application({
    name: 'Era',
    appFolder: 'app',
    
    requires: [
        
        // GRID
        'Era.model.Event',
        'Era.model.History',
        'Era.store.Events',
        'Era.store.History',
        'Era.view.ManageScreen',
        
        // SCREENS
        'Era.view.IconField',
        'Era.view.IconScreen',
        'Era.view.FinishScreen',
        'Era.view.EventScreen',
        'Era.view.EventsContainer',
        'Era.view.MainContainer',
        
        // PREVIEW
        'Era.view.PreviewWindow',
        
        // MENU
        'Era.view.MenuItems',
        'Era.view.MenuPanel',
        'Era.view.MenuWindow',
        
        // CONTROLLER
        'Era.controller.Main'
    ],
    
    
    launch: function() {
        
        Era.controller.Main.loadComponents();
        
    }
   
});